# Core

This directory contains the core infrastructure classes for the Bizzmudra plugin.

## Files

| File | Description |
|------|-------------|
| `Plugin.php` | Main plugin orchestrator. Defines constants, loads autoloader, instantiates all services, and registers hooks. |
| `Autoloader.php` | PSR-4 style autoloader that maps `Bizzmudra\` namespace to the `includes/` directory. |
| `Activator.php` | Handles plugin activation logic (default settings, setup wizard redirect). |
| `Deactivator.php` | Handles plugin deactivation logic (cleanup tasks). |

## Architecture

The `Plugin` class follows the Singleton pattern and serves as the central entry point:

1. Loads helper functions
2. Registers activation/deactivation hooks
3. On `plugins_loaded`: checks WooCommerce dependency
4. On `init`: initializes all services (CurrencyData, ExchangeRate, Switcher, Admin, Public)
