Broke out database config stuff. This stuff needs to get moved to
into global scope and created at the package level