WIP: RPC simulation codegen client/server