Config class

Creating the pull request so that I can comment some lines ;)