Restructured dmcm as reusable application