Updated KnowledgeManager to produce TaskService a little more cleanly