Working version, db_model updated and modified.