added jsdoc comments to the main modules