Simple event management library