Add DM_Callback class

Add new class DM_Callback on dm_callback.js file. This calls will be in
charge to handle callbacks associated with dependencies.