Add rpc module, containing RPC-related classes