Added routing for the tasks