init db model