Moved config to the object initialization