removed Peer, added DataQuery abstraction
removed closeCursor
added destructor for Result