Adding more documentation and plugin example. Closes #1