Supporting Both Client-Server and Peer-to-Peer Models in a Framework of a Distributed Object Management System