updated model/db and added models for the rest of the database