A new class to handle plugin menu item properly