progress bar added
comments until 668
takePicture.js reorganized to be separated into different ones
takePicture.js separated into different ones