Break up utilities
Simplify loading the config, set the environment to testing when testing
Move db connection code to util
The db in the callback is irrelevant since it can be accessed in util
Project testing