Refactored SMS delivery API. Close #14.