Modify Attacker and Container classes to inherit from the Persistent class