implement model, unitest
implement model, unitest
move migration to single script