reflect move of functions in client.py
Create a global context at distarray.world.