Added documentation comments for each file.

closes #19