starting to implement serialization, writing to file is functioning
meigue