Configuring database

Added required database configuration and gems for deploy on Heroku