S3 storage driver for next gen modifications

This still needs some more minor debugging.
This may need a comment about what it is trying to do.