finished uploading and storing images, now working on processing images and storing into mongodb