add boardMetrics class, correct Pieces resources