Abstracted database config out into a JSON file.