add models and migrations for schema design