Adding current API documentation genered by jsdoc 2.4.

Some bug with private function but it is not my main goal yet.