Updated config.go so it would actually work

config.go wasn't actually loading the config into an object that we
could use. I have since modified both config.go and it's unit test so
they both now work correctly.