Split GameEngine to file