Added a task and task_pool
updated references to #task