class to hold strings for queries