add comments to all code files

closes issue #4