class for computing basic stats
Revert "class for computing basic stats"

This reverts commit fce0ddb0eb9653a96a5d944f396eadcea3fb07b2.
Revert "Revert "class for computing basic stats""

This reverts commit 5932e22364502884aa8fe9ee8c7bf52eb1794750.
updated to new constants class