Spring cleaning

Most changes are moving imports around to make the app folder more modular and separate the core again.

Some removal of orphaned code and aliases to simplify routing.

Again I didn't touch any database functions because I have no idea what you're going for. 
Recommendation would be to move it all to a database core class that models can inherit from
and to get as much code out of the app class as possible.

I would have readded GET and Post variables but I believe some changes to how actions are called
should be done first.