Fix: Undefined classes, some more

This PR

* [x] fixes issues where classes seemed undefined
* [x] fixes issues where to many imports were used
* [x] fixes / adds doc-blocks (helps with auto-completion)
* [x] sorts a few imports alphabetically