finish generating csvs, working on js-side pgn downloading and parsing