added domain class documentation