Clarifies SQL parsing.

SQL parsing was a bit of a mess; going forward,
one parser and a handful of simple listeners will
deal with populating arguments in the sql.