adding missing routes and defaults.js file