add yaml, explore to use yaml config format