Changed worldmap code so that it can be called from the app to init the map and set the data