Implement heartbeat

Closes #1 
How about Statistician? :stuck_out_tongue: