Add decorateLayer service

remove useless layeropacity and layervisibility directives