set up task manager class