Yii structured app