redo MapService layergroup initialization and everything else