added MVC structure to app