upload images to S3
config of Amazon S3 & refactor code
pulled from heroku, amazon s3 solved