hookup db, added models.