DB Config updated to use env variables.