Turned QueryBuilder into a constructor function, accepting collection as input. Qualify is no longer an option - is automatically determined within the QueryBuilder.