exported cpp function and added doc
roxygen2 code for load the DynLib