add controller and views