added basic game loop
successfully decoded json into objects. close #9