Added Config object capable of processing config arrays (with unit tests)