Now config module returns an object, and discipline module returns a function.
Even though it makes sense as config will always be the same and discipline depends on a configuration file. It still feels weird... maybe they both should return functions just to make it all feel the same...