Caches cluster configuration.

Caches cluster configuration in memory instead of access it from file.