Changed folders to store the images, removed old image upload code and added new code