added getting image file from url
added handling for image uploader and code for fixing image files
changes for models for handling images