Implemented basic MVC