Add the default config file to the list of exports
More refactoring to make the code more usable in other projects as a node module