Changed the whole structure of the project, changed controllers and adopted more conventional methods.