Adding the RPC client class