MDM module for the miwa project