server routes externalized