Adding node cache manager and updated to work with new JSON message.

Signed-off-by: Jayanga Dissanayake <jsdjayanga@yahoo.com>