removed psycopg2 dependency