Clarified numerous comments detailing the function of some classes.