Added inline documentation for DM module