adding application.cpp