Serious fixup of the project

Fixed:
- Documentation
- Indentation
- License
- Functionality