added CalculateRewardService.java