initial impl of task manager