Remove xml files and replace with ini style config in the hod.conf

No one likes xml. 

Depends on previous PR's.
maybe parameterise these 2 functions, seems like identical code to me, except the log message and the script