reorganized code; removed StartServer.py