changes app to MVC