added read and write quorum rmi functionality