Prediction API now for match and dual, with working OO structure (hopefully).