Updating to closure, adding event after plugin creation and updating README.md with plugin usage information