finalised basic functionality heartbeat demo
incorporated first batch of review remarks