Added MVC-structure. Added controller integration