Convert cluster configuration to class