Rename middleend.js to index.js