adapted DataMapper setup for Heroku as well as localhost