Added Operator base class and introduced Selector#select method.