added models, database