Replace traditional for loops with range-based loops when possible
Fix default constructor of Reaction