basic xml saving and loading & examples