renamed pins
split out io stuff
testing script