Adding the first bits of the QGPVE class.