Refactoring PrecisionRecall class and adding MainPrecisionRecall sample class.