Adds links categorization logic , Junit yet to be updated ..