sprite data loading xml and building sprites