moving rpc module to repo