totally replaced a bunch of stuff. also csv and json file added

worked in a separate file then copy pasted into my 399 project to avoid
shame haha.