Start of using psycopg2 to connect to the psql database