installation of a diverter valve

Hi. I recently installed a Pentair  3HP Intellipump on my pool. It’s also equipped with a polaris pool cleaner and an old pool sweep type booster pump. now the pump is leaking and starting to make a racket so I’d like to install a diverter valve with an actuator to “bypass” water flow into the polaris during the last 2 hours of the pump run. I know I can program the pump to change speeds so that’s not an issue and I can use the relay that controlled the old PW pump to control the actuator, using an external 24VAC supply. My questions are these. A) is this pheasable. B) should the valve be installed before or after the filter. C) I read that the position of the actuator is controlled by a cam, when voltage is no present, does the actuator return the valve to it’s original position. D) would you recommend a 2-way or 3-way valve?

Thank you

Jerry Agresti