setting up task controller and views