refactor to use class-based model
Merge branch 'fix-tests' into refactor
Merge branch 'master' of github.com:dimagi/couchforms into refactor
Merge pull request #49 from dimagi/refactor

Refactor