Abstracted database configuration into it's own class so that connection logic can be encapsulated and reused in bin scripts that don't need a complete environment initialized