updated locationtree and location so can serialise. Also updated readerwriter and menu so can save file correctly.