Added singleton class for configuration.