adapted to new dmmodule.h
outsourced modelobserver
renamed GUIModelObserver to ModelObserver
updated viewer