we should move this code to `Sugar.php` the abstraction and do something like `$kernel->get('sugar')->boot();`.