Move serialization and deserialization out of main activity to Model