added original GameEngine class