Refactored controllers.js to be more readable. Added items to package.json.