SAFE is a simple middleware that facilitates SAM implementations
SAM Pattern library
Finite State Machine library for the SAM Pattern