First working version of the SMS service class