Adding node api documentation
Removing debug code
Adding jsdoc comments to class.
Updating the readme regarding the node usage, further formating it to valid markdown (former where github only).
Adding deps to jsdoc to generate the api.