Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Created tests and refactored some code along the way Added stat graph util spec, refactored code finsihed up tests and refactors finsihed up tests and refactors