Using environment settings for DB access

Changing the connection string as well