implemented usage of multiple config files (hopefully)