S3 storage driver for next gen modifications

This still needs some more minor debugging.
"rootdirectory" instead of "rootDirectory". Otherwise this can cause confusion.