added shell mode to server.py