Write domain documentation
Fix pokoli's comments
Merge pull request #13 from JCavallo/master

Write domain documentation