Flask server to interact with Raspberry Pi GPIO