splittling link filtering logic into separate class; +unit tests