loading from xml into root tree structure fully working