implemented rpi gpio functionality and added debugging