The REX irradiation facility and its applications