Added PQModel class