Event Subscriber to replace hook_boot and hook_init | Drupal 8