Added utilities to query mechanism.
Merge pull request #11 from iliabylich/ib-add-utilities-to-query-mechanism

Added utilities to query mechanism.