Rewrite of the lost ConfigurationReader.cpp