Updated the documentation: Mostly cosmetic changes. Added description of the various structures.