use the model mapper
Merge pull request #30 from nathantsoi/master

use the model mapper