Added database configuration support and integration with Heroku