Add global $config for functions.php set()
Remove include of mock event dispatcher