First attempt at creating a game engine.