Implemented abstract class CalculateThreat

changed from inheritance to extending an abstract class