Added the "tree-control" interface, providing an API to control the tree.
updted readme