Add models

Adding models and database tables.