Postgres connection made from code
Domain set up, program outputs from DB