extract menu sections and items into extension