Serialization done

Now just have to work on label and autosave