Cut down the index.js file into routes/files.