An Event-Driven Library