Creating an RPC server