working implementation of selecive fragment highlighting(lightly tested). Also, refactored ProcessImage from static methods to object