Put the pigpio stuff in its own module