Adding the QueryBuilder base class