Created the base of the game's engine.