Added shift registers to increase IO pins number.