Added comments

Added comments to the files for better readability.