changed config to yaml format since its easier to config.