Namespace function method, rename the map: to cp_map: to avoid conflicts

This PR rename the method `map:` to `cp_map:`. This is a good idea as `map:` is a rather general name and as a framework it is probably best not to use it without namespace.