Major refactor of PathTree and RhoService

* PathTree is now more self contained
* The RhoService is dramatically simplified