Main menu, networks serialization and deserialization