split metrics off into new package