Added method freeze, freezeecision and freezeRecovery. Declared reuired methods too.