changed folder name from img to images.Also refactored some of the code
changed folder name from img to images.Also refactored some of the code
changed folder name from img to images.Also refactored some of the code