classes to make a psql connection.