Broke testapp.cpp into files