Separates table info from db class