Distributed server done, but not tested.