define stub api for application

adding missing profile.cpp