Refactored plugin manager so it supports per-audit configurations.