Added game loop etc.