added all the properties for upload / added getPhotos function to requestHandler
added fs.writeFile to requestHandler.upload