moved models to it's own file