A simple RPC framework