Thanks to golint, added alots of missing docs and fixed other warnings