refuctor cameraManager and xaml files.