feat(heartbeat): implemented heartbeat feature