Updated to initialize the node cache with data in the DB

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