Parameterise ophan api, and update onward routes