build nodes hierarchy retrieval implemented
merge conflicts fixed