add entity and image models
remove needless migration