add app.js, procfile and remove dist from .gitignore to prepare for deploying to Heroku
added lots of code to fix swipe: doesn't work yet