FreeBREW is a collection of open source software for BREW. BREW Foundation Framework provides a multitasking-aware kernel which supports a layered, per-task and per-state event dispatching mechanism to enable robust, state-pattern programming in BREW