Added validateRootNode method for configTreeeBuilder method simplification.
Merge pull request #1 from shouze/feature/simpler-configuration

Added validateRootNode method for configTreeeBuilder method simplification.