moved code from Viewcontroller to NodesRequest as it should be
Refactored doAndProcessRequest methods