What is the best way for controlling array of 8-16 relays?