Design and Implementation of a Flexible Beamline for fs Electron Diffraction Experiments