update routes to use promise style pull request test helper
rename index.js to web.js