Helper class that offers static methods to setup and initialize the D2 instance. Also, it ensures that D2 is a singleton across the application.