Switch to the new matchengine API. Add in some docs.