initial CI of server.py with getch() loop