First stab at a QueryBuilder utility class