cache postgres connection when running without nginx
move logger initialization around again, remove [pgmoon] prefix from queries
refactor env push/pop, remove its db configuration
config spec
push env can take table environment
use environment module when running attached server