moving markup processing and filter application to new MarkupProcessor class
moving link filtering to separate class