Added Initial S3 code