Added game class, game loop.