Now connects up pins for signals. Lots of debugging.