refactor of orders-routes.js and router.js stuff