Refactor plugin loading to PluginManager
Set static reference to loaded FrontendCore instance