move board state records to header files