add client side file upload
fix main upload kml logic