* Made knowledgebase thread safe