extracted out the menus config loading into helper