Update to bleed mechanic

Bleeding is now a rate rather than a boolean.

Abstracted bleed script to a separate file.