Pulled require config stuff out into its own file.