Fix a docstring generation bug
Add documentation
Use new project structure