Query processing components added

Components of the query processing step has been added.