Loading attributes from XML and implemented PropertyPanel