Added application.h to code