Add configuration reading