Doc/Member cleanups

Changed some public/private members and cleaned up docs
Use ReadAt instead of read, and stop using last_loc.
Use int for lengths
Run go fmt some more.