added commentary to various classes