[WIP] creating objects from xml