MVC implimentation