Finished writing serialization and display code