Update Menu system to also remove the created menus and to create sub menus and add a test script
Add option to unregister a plugin