work on swig+cmake and documenation