add router.json and osx dir.