Add check, if captured image equals to saved image-do not override file
Implement logger