Finished cmd line arg parsing.

Also cleaned up extra sql driver includes, and added more pretty
printing.