Adds heartbeat and d3 graph WIP