Import application.cpp from spark people