Added draft impl for the prediction service.