added comments to the files

allows easier understanding