Refactored code, migrating the localization in index.js to its own file distanceSorter.js
.
Changed S3 upload to work with all types of files, not just pdf
Made JSONs more readable