added abstract dcd class (mother) and inheritance for the daughter class dcd_r