add bootstrap and use swig