added support for object based configuration