KMS:
changed HashSet back to LinkedHashSet
changed Constructor to make it consistent

Preparation:
implemented setBasicConfig