Added PostgreSQL handling classes