Add tasks to routes