A simple event management library