changes to get LayerController working with CMV