Refactor models folder to separate domain specific document types from CouchDb types, take 2.