Add psycopg2 and get it working with local database