leafChat's core API, available to all plugins. Includes the message system, singletons, plugin management, and exception types.