enabling menus to be configured via yaml