add: knowledgebase and init
corecting missing access to knowledgebase in parser
making Init function public
correcting return value for GetXXX functions in KnowledgeBase
unit test for parser and relevant corrections