add gtest
revamp qpulse to use gtest
add stats code (max,min,average, variance)
add gtest