Currently all models and table creation code is in core. We need to move it to individual packages. Also, all database creation logic should be in migrations in individual commands.