added configuration of headers and sub headers to a yaml file