Tiny event loop library