parse upload filename; refactor server.js
Merge branch 'master' of https://github.com/williampierce/cc