added demo : Using Yaml as widget configuration