Merge pull request #46 from nbusy/golint

golint/gofmt the code
add doc clarifications