Initial commit of new KnowledgeBase class