move class Table and IntAndTable into individual files