Config class

Creating the pull request so that I can comment some lines ;)
If we're using the example config file as the default one, we should rename it to `config.default.php`.