Add the sms notifier for optimus. Improve some code.