Vetex selector as example algorithm (incl. base class, factory, etc etc)