Added comments to both files.
Added readme. Misc cleanup.