Documented the Domain class. Removed the LayerManager class.