Open source release of knowledge base implementation

Summary
Open source release of knowledge base implementation