Added default config file and most of the code to read the new configuration layout