Build MVC pattern.