Split Config into Config and Reader, initially move config to the reader.