UPDATED: rpc functions split into different files. No more rpc.go.