Fix config variable names for ismop functions.
Renamed constants in config.
Extracted function for storint threatLevels in ismop function.