Base class for yii module