Started to add some documentation to the source.