Next make it easier on yourself and forget about IB for now ... Find a more user friendly API. For Futures I would recommend Rithmic (or TT). Write a program to receive market data, normalize it and feed to your strategy module/program. Write a module/program to receive generic orders from your strategy module and convert them to API specific orders to be sent.
Once you have all that simply replace original API with IB api ... Voila!
Don't build system specific to any API/broker so that you can easily switch without rewriting your strategies!
Clever! Have you done something like this yourself?