Pg simple wiring

Wire up the actual architecture with databases, subtable filter propagation, etc.  This gets all of the foundations in place.