Refactor damage control

Refactored damage control into three separate poorly named files.