add TreeToHtmlConverter object, add override and private modifiers to methods