fixes to repository wrapper; cleanup and enhancements to Query class to support complex conditions
increment version