#8 use the query interface instead of implementation
#8 support for overriding methods and usage of constants
+ encodeSearchTerms method
#8 moved ComplexQuery to "main" package
#7 test method for query refinements