Added class gameEngine, more abstractions.