fixed database access from backend and added peer map message to SendTree
implemented sending of nodeInfo messages in sendtree