initial version of merged smsapp