first commit of version 2

This compiles cleanly, and I've remapped all the pins, but this is completely untested.