Divide task manager to service