s3 support, initial commit