Looks like you have Polybutylene (PB) pipe which is no longer used due to high rates of failure. If you can get to all of the piping easily then you might want to think about going PEX and replace everything. Otherwise, you need to be careful that you get PB to PEX transitions when installing the valves and bypass pipe. PB is not the same diameter as PEX and will require special transitions.
__________________
|