add TableGrid and TableTree class