Did some minor formatting of the code.
Added some comments describing this file.
Added some comments describing this file.
Made use of the new macro for defining hazard reactions.