Add basic MVC  functionality