Removed rex_plugin_manager interface, added rex_plugin_factory logic