Refactored API directory structure

Moved all database model objects into their own little folder so they
don't clog up the already too huge datastore abstraction layer.
Merge branch 'directoryRestructure' into feature/type-clarification