add service mapper

service function to map function against entities of some kind
to be used in interactive console
uses deferred builtins
minor fix mapper