WIP: load entities from xml file