Closes #7: Move all DOM-specific code to DomFacade.  Also started
moving code to MapFacade.