Added implementation of MVC