Setup YII and setting config.