basic functionality of M.Model
Merge branch 'master' of github.com:mwaylabs/TMP2