add the method mappingLayerToPackage