Split TaskManager into TaskCoordinator and TaskHandler. Introduce WorkItemRepository. Add git/profile based WorkItemRepository implementation.