New MVC functionality

* New APP class
* New controller logic
* New view logic
* Started models and sessions logic