moved models to entities dir