first cut at web-based SQL generation which I see as replacement for psql if you don't want to ssh into box