School project. The server (python) part.