Get complex config array in OOP way