split MainBundle in PluginBundle