Update dbbuilder to adapt new table.txt

Changed dbbuilder to read and import the new table.txt format.