toy project for lua rpc