added models and class views