Updated documentation and added godoc style commets to the source files.