Remove the constants (and also the config file) and take the settings als parameters in the constructor method.