Work on integration of ddMd/sp into DdMd