Initial code for the IDM domal model.