Added some logic to create a kml file, first attempt