Working on RPC framework