added transitions and sstucture to the tree. The tree is split by indices and can be navigated.