Use log statements over print/sys.stdout

This also contains formatting and style cleanups
Merge pull request #63 from cbmi/issue-55

Use log statements over print/sys.stdout