refactored Queries utility class to Codec.Querier object