Added fromJSON to models, networking update

Now all models can be created from their JSONObjects, now game states
are updated on both sides