Set up an MVC pattern