Started working on hierarchy tree : made external window for it, implemented drawing one node. Small refactor in model.