Fixed application .h/.cpp by removing obsolete testcode and added a 'gameloop'
Removed whitespace