The Beam and detector for the NA48 neutral kaon CP violations experiment at CERN