#297 Refactored initialization of ConfigurationRepository.