Implmentation of MVC