The old way of importing the `gedcom` package was like this: `from gedcom import Gedcom`.
The new package code is separated into individual modules within the package. So `Parser` (the actual parser which was named `Gedcom`) would be imported like this:
`from gedcom.parser import Parser`, since the `Parser` class lies within the module `parser` within the package `gedcom`.
Same procedure for the `Element` class: `from gedcom.element.element import Element`, since the `Element` class lies
within the package `gedcom`, the subpackage `element` and the module `element`.
This allows for better maintainability and scalability.
If there are any questions or you encounter a bug please open an issue [here](https://github.com/nickreynke/python-gedcom/issues).