add controller and view