furthered work on image model, got it working with uploading to S3 and retrieving top one as a main picture