add an sample Config class which has feature of self-explanation.