XML and first version of IoC class