Resources callbacks improved greatly
Path building options normalized, refactored and documented