Implemented an initial object model to hold the state of the tree display while navigating around.