added router.js and api.js