Add memorize plugin

This is a plugin that lets you use data from previous events on future events.