added compile script and an index file for deploying to heroku