Move ArrayChain version for Yii to separate file, to allow to use it independently