Main changes made. Yii should work. Time to test.