Addition usefull classes for Yii framework