Added gpio handling to control leds on raspberry pi to indicate the state of the remote relays