add model file generators and migraion