Switching to YII Framework