add router and package.json