This is a lightweight framework to supports event-driven.