Implemented xml and binary formats