Pull the S3 host from the env.
Consolidate common callbacks into a header file.
Add resource, config and helpers for fetching and uploading artifacts.

Added erlcloud dependency for S3.