making allinone server to avoid multiprocessing problems in windows