Starting documentation of the environment class.
Some rdoc documentation updates.