Added yaml config loading.