json parsing of Board object moved to Board class