added heartbeating and converted to callback not promises
0.1.0