create models and migration