App structure for yii 1.1