Yii framework optimized to extend Wordpress as plugin