(1) Fixed names that matches the ports. (2) Adding shift register functionality.