refactored some code, deleted some unused code, prepared
knowledgetree.html for showing nodes and wiki entries