Config class

Creating the pull request so that I can comment some lines ;)
the first time `$prefix` is used, it's in `explode()` which takes a string as an argument, and it's called once, with a string, in the constructor. So the type has to change at some point.

Thanks for the explanations for the loop, it's easier to understand with an example ;)