Build MVC pattern