added code to the cpp file for GameApplication