some changes to everything

I had to combine everything that could be sent in the Json as a cell state into one class,
otherwise I'd have to write TypeAdapters since Gson doesn't handle polymorphic array serialization well.