Add mm-common from JDS
Merge pull request #872 from pyhalov/mm-common

Add mm-common from JDS