Create testApp.cpp

The testApp source code. Provides the control for the program.