Moved routes/api.js to routes/api/index.js for consistency.