Boardstate refactor

changed BoardState from struct to class