Move server interactions to Global.java ...

... to prepare using the same loader for ListView and MapView.