Created database model.