gofmt and condense global vars
update README.md
Use package logger
Update testing command in README