Move main() into new file tsv-sql.c