Working on Rest interface & swig R updated