All code necessary for the project "Protective Capsule"