refactoring caching, introduced heartbeat to reflect cmdl changes
refactoring caching, introduced heartbeat to reflect cmdl changes