expand and fix model:new (and init) generation; still need migration to create the model