Setup for heroku
More Heroku setup
Fixed bug will null device lookups (hopefully)