Added TableBuilder and abstracted the commandline or gui logic