refactored uri_mapping and add support for short URLs /{node_id}