added license and fixed config so that it would run on heroku out of the box