Pre MVC rework

These controller files are made to work with the current MVC php
template.

But will be changed to better reflect a MVC approach at a later stage