Apply MVC structure