refactoring and some fixes

* file format in analysis report
* seperate module for image processing
* added GIF repage fix refs #42
added CLI utility. refs #50
updated analysis test