get rid of npm async
move upload, db, and response funcs to helperfunctions.js
update dependencies
add comments