Add rpc module and its tests.