Some fixes and new feature: addPath for redirects
Merge branch 'minimal' into rest