Added XMLConfig + some new methods.
Added in Resource a config section.