add dbi & table classes