adds logic for displaying board from json data