CSerializer and CTempaltemanager could create an entity with its components from xml.