Initial version of Replay plugin

Closes #8