gamedata init, cleanup