Adding initial S3 upload functionality