Added dependency to psycopg2 in production. Added configuration for postgresql database in production