Actually finished the tasks controller