use cxxtools serialization to read configuration file and configure cxxtools logging as well
do not dynamically allocate configuration
Merge tommis branch.