Building MVC structure.