Added model_image view and abstracted saving images and uploading files to S3