make all changes to documentation and code suggested by golint