initial commit of code, reads the json stuff