Yii Rest API skeleton