Added Predictor class