Added a class that can parse and translate an ad query