Fixes #5 move the version number to a property and replace it with the __VERSION__ string
Merge pull request #9 from alexgt9/version-string

Fixes #5 Fix version string
Merge remote-tracking branch 'upstream/master' into add-md5-checking
Fixes #10 Refactor the handler method

Extract some logic from the main function.
Reorganize the exceptions catches.