created model and migration