Added PostgreSQLAdapter class