Update router to add more details

and make treeID mandatory but subtree ID optional