Config class

Creating the pull request so that I can comment some lines ;)
I'd advise first making a CONTRIBUTING.md file that states the desired code standard, so we don't need any clarification at any point.