there should be 1 line in from your cold water supply
there should be one line out of your RODI
there should be a waste line.
that should be it, unless you have an RO only line as well.
As far as a shutoff, I plumbed one into my supply line.
A picture may help, as well as what kind of (model and manufacturer) unit you bought.