added smsCtrl.js, sms.html, updated necessary code