Added new API — CConfig

Can't remember why though, got distracted while adding it, now can't
rememebr what I was going to do with it.