Added TableStats class, not integrated yet