Bare-bones event-emitter class and singleton instance.