Add a new way to minize Table, also allow user to define the grammer in files.