refactored nodes so that they are no longer responsible for adding a RootNode to the tree.