Adding TaskManager class