improved abstraction od rest calls, refactoring, nodeviewer