A simple workflow engine for the Yii Framework