Implement event value pool

Closes #1