Added comments to most things and deleted an unnecessary file.