got rpc client and server implemented - need to test