Events plugin for croogo