added main swig file