Added the task controller