Added plugin structure for favorites and plugin load resource activation function