Add FactorTable class