STYLE: Added more comments. Cleaned some lines to be span less than 80 characters.