Adding NewRelic configuration.
Fixing the database connection.