add Class TreeNode and TreeBuilder