added events and updated docs
updated package.json with version number