server.py & settings.py: Updated to work with the GPIO port. (Should wort without GPIO, fallback is the iotest.py beat simulation)