new_contents: class Operator(object):
      '''
      operator executed after query to do(concordance,OR collocation,OR N-gram)
      '''
  
      def operate(self):
          raise NotImplementedError()
  
subject: move Operator Class to query_processor.Operator module