like lyle pointed out swig is a very good tool. This is an easier route than learning the whole shooting match which is very process oriented and can be automated which is what swig does