finished code in NodeModel - changed return type from void to
KnowledgeNode