Added jsdoc to resolver and few few minor adjustments
Adding API to the readme