added configuration section detecting
Merge pull request #5 from forsakenyang/master

added configuration section detecting