Completed json parsing and more

Completed json parsin, generation of game context.