Fix for issue #40
Changed how input file reading. Cleaned error msgs
changed do_version output. Added info logging mode