changing SearchEngine, adding class SemanticLogic

changing runQeryTest