Updated server.py for RaspPi usage