Moved the config reader functions over to a built-in library.