fixes #10 and also tested. The saving process now use jaxb.