Tree::getTree() implements
added Tree::getPath()
remove direct dependency