Revert "Add SMS Middleware layer."

This reverts commit 4036e712b85ef11b370d85ca620ed7f2cd678072.