Plugin system refactor with menu items