use cmobject
Merge pull request #18 from andrewjpage/master

use cmobj