Added a proper plugin app controller and changed the controller inheritance to match
Removed some proprietary things from the model. Especially as the required db fields aren't included in the migrations.