Changes to tasks

implementing the new tasks system