[WIP] Adding first stub of sub-path matchers

Aims at making path chunk matching pluggable.