Rewrote plugin, added examples and Readme.