added PG init variables to size up the connection pool and pool idle time via env variables PG_POOL_SIZE and PG_POOL_TIMEOUT
minor cleanup