move shared resource parts to common module

cc @jmatth 
This needs to be twilio-go.