added Client class as general front-end for client session

Removed RPC class.