made golint happy

I went through and added everything that was required for golint
to accept the code, there can still be a lot of cleanup to be done.