improved app, created game class