da/db/dm/dr/er .c and .h structure completed