another config implementation with less boiler-plate
add some explainations
Merge pull request #487 from HearthStats/config

Config