sms sample application updraded to cas application.