Add middlewares folder, rename a middleware file, fix routes according to the change, and move superagent.js to devDependencies in package.json