added possibility of configuration loading.