Base class for simple modelling. Enables automated NSCoding and JSON serialization.