I think you will basically have to look at the existing code.
You should be able to reuse a lot from the oumultiresponse integration. I am sure you are already looking at that.
I don't really know what else to suggest. If you have specific questions, please ask them here, and we will try to help.