Reorganize routes module and app.js imports.