Structural and Optical Investigation of Rare Earth Doped Oxyfluoride Glasses