Added doc annotations and generated the first draft of documentation using jsdoc 3.2