Revert "Add SMS Middleware layer."

This reverts commit afa9fa7e340b06eee744ff1ac0f22d4eedef0149.