added creation of default config file if no config exists
tuned exception/stream handling in io classes