Reorganize into a proper directory layout.
Add a proper package init for the Python package.
Fix broken imports.