changed to use already written parse function
added map and kml file creation