moved events to their own function, moved starting resources to GameData