The Low Density Matter (LDM) beamline at FERMI: Optical layout and first commissioning