copy controller and views