make use of the new way to set up the config singleton provided by cppcmskel, now the main is much smaller