better jsdoc configuration
add jsdoc generation
added more documentation