Implemented a basic MVC