dump stack if server has issue starting up
added postgress module and now uses config for pg