Create plugindb class for centralized plugin handling.