add swig template engine