Added comments to the files, such that they are easier to understand.