Add example for how to use the RPC functionality