moved models to app