Use pipes to load CSVs faster. Adapt to new format
Use cmd-line args instead of config files
Various code cleanups
Format SQL queries for easier reading