Removed unnecessary files and fixed autoloader for Yii.