divide the game_manager(add api and lua_load)