Modified server.py as per changes in other modules.