generate DExternalModule like DModule because I don't know what the difference is anyway