migrate and initial model testing