Customizable dependency injection container with the global mode, cascade initialization and panic-safe finalization.