WIP: Centralizing all the connection logic in S3