added constructor to model Sms