added models and routes