Added documentation for realms.

Working on #9