RPC Support

Issue #3 implementation