moving all logic into node
pre ui.tree
upgrading to angular ui tree