Adding tasks to the router