moving metrics to new class and changing root node depth to 1 from 0