added models and migrations for the table schema
added models and migrations for the table schema