Revert "Add SMS Middleware layer."

This reverts commit b601a85af7e5b6967acaa0dcaab47583daf3d693.