convert app at MVC structure