Working on header issues with application.h moved it to the cpp file.