The models should explicitely get the service container passed along (currently in the KernelLoader) before it can be used, so there are 2 options:

- We can either refactor out this BaseModel class and implement ```php setContainer()``` + ```php getContainer()``` in FrontendModel and BackendModel, which is in essence duplicate code.
- BaseModel can be expanded with a ```php getContainer()``` method.

The result is the same; this way ```php self::getDB()``` can be replaced with ```php FrontendModel::getContainer()->get('database')```.

It was my intent to do this in the next release due to time constraits. I believe it's possible to accomplish all this with a few replace-all instructions, but the result should be tested extensively before release.