refactor GameServer