Remove isvalid() func.
Add getConfig initial.
Cosmetic.
Create getConfig func. for all configs.