an npm-like version of the react-nested-router