SMS Middleware layer

Change-Id: I43efa0ee962d599795137cf31ea60f629ba891f5