Added some more comments and redid some. Ran the reformatter on the code in the kml directory