add controller and view of task