Split the configuration functionality into it own file.