example app and README updated. plugin refactored.