Factoring out twilio API specifics