rewrote configuration files to support XML

+ XML support to configuration files
- need to add agent support to conf files