Basic startup code for task manager