Added a configurable module for swig