Prepared to use link resolution/rewriting on a small level, at first ...
Extracted local paths to an interface that will allow me to easily rewrite all the links