refactored middleware filenames. removed unneeded imports from app.js