Rewrite models and create seed data