Cleanup the gpio/led code