Debugging and more code comments

- Some bugs have been fixed
- source files for the documentation diagrams have been added
- support for direct access to a module have been added