Fix public, api, private usage

* public mean nothing => removed
* api is used to generate the documentation for the integrator,
  then use it only on element that's made to be used in the viewer.js,
  the developer should read the code :-)