Performance improvements

Use model cache in repositoryGoalEvaluator