Add a generic task manager