add slashes at the end of dir name if not exists.
bag simply sets the content (not using Bag class). (re)moved Bag.php
removed comments on url mapping (it is in the UrlMapper trait).
return a new bag from bag method (revived Bag class).