Degree of Relevance:Refactoring & Testing

We have refactored the degreeOfRelevance model class and added Cucumber Test-Cases for the same.