added app controller and view