Rewrite more or less of hole project

Downloaded the MVC framework used in the project and restarted the
project as it had some really ugly solutions, which are now less ugly.
Reworked design, almost the same but with less special solutions