Create task controller and view