add table create
tidy up requires and add a query test
add help to db-pg describing the test table/create table stuff.
fix tables test bug
make the json query execute without lots of complex functions
change README to explain overall architecture better.
abstract the db name away into a constant
fix doc nit for db-pg function.