initial models and migration

cosigned by mason, merging