pep8
added basic logging functionality. Added --verbose cli switch