adding DB access class for Peer