loading code cleaning (moved from game_map to game_lib_load)