Starting work on knowledge base. Fix comments a little