Added task manager class.