refactored Board to use brackets and pieces separately.