Added documentation/comments to all files.