Made StateModel use page JSON data to instantiate itself
Made Setup refresh StateModel at key points